{template header}
<a class="btn btn-primary" href="index.php?c=admin&a=siftGroup">群组筛选列表</a>
<div class="row-fluid">
    <div class="span12">
        {if $msg}
        <div class="alert alert-info">
             <button type="button" class="close" data-dismiss="alert">×</button>
            <h4>
                提示!
            </h4> {$msg}
        </div>
        {/if}
    </div>
</div>
<div class="bs-docs-example table-align" style="clear:both;">
    <table class="table table-striped">
        <thead>
            <tr>
                <th>群组ID</th>
                <th>群头像</th>
                <th>群组名称</th>
                <th>创建时间</th>
                <th>地点</th>
                <th>创建人昵称</th>
                <th>群成员数量</th>
                <th>跑步总里程</th>
                <th>加入推荐</th>
                <th>群组状态</th>
                <th>操作</th>
            </tr>
        </thead>
        <tbody>
            {if !$groupList}  
                <tr>
                    <td colspan="10">暂无记录</td>
                </tr>
            {else}

            {loop $groupList $k $v}
            <tr>
                <td>{$v['gid']}</td>
                <td><img width='30' height='30' src="{$v['header']}" /></td>
                <td><a href="?c=admin&a=GroupStatistic&gid=$v['gid']">{$v['name']}</td>
                <td>{$v['createTime']}</td>
                <td>{$v['city']}</td>
                <td>{$v['nickname']}</td>
                <td>{$v['members']}</td>
                <td>{$v['mileage']}</td>
                <td>{$v['add_time']}</td>
                <td>{if $v['isDismiss'] == 1}解散{else}使用中{/if}</td>
                <td>
                    <a class="btn btn-delete" href="?c=admin&a=remRecommendGroup&gid=$v['gid']">移除</a>
                </td>
            </tr>
            {/loop}

            {/if}
        </tbody>
    </table>
</div>
<div class="pagination">
    <ul>
        {$pageStr}
    </ul>
</div>
{template footer}
